package com.wzt.lianfirecontrol.bean.recode.home;

import com.wzt.lianfirecontrol.bean.BaseModel;
import com.wzt.lianfirecontrol.utils.StringUtils;

/**
 * 首页趋势图
 */
public class HomeTendModel extends BaseModel {

    private String warnSum;
    private String warnTime;
    private String createTime;
    private String riskSum;

    public String getWarnSum() {
        if (!StringUtils.isEmpty(riskSum)){
            return riskSum;
        }
        return warnSum;
    }

    public void setWarnSum(String warnSum) {
        this.warnSum = warnSum;
    }

    public String getWarnTime() {
        if (!StringUtils.isEmpty(createTime)){
            return createTime;
        }
        return warnTime;
    }

    public void setWarnTime(String warnTime) {
        this.warnTime = warnTime;
    }


    public HomeTendModel() {
    }
}
